using Godot;
using System;

public partial class player : Node2D
{
    // Called when the node enters the scene tree for the first time.
    public override void _Ready()
    {
    }

    // Called every frame. 'delta' is the elapsed time since the previous frame.
    public override void _Process(double delta)
    {
    }

    [Rpc(TransferMode = MultiplayerPeer.TransferModeEnum.Unreliable)]
    public void RemoteSetPosition(Vector2 authorityPosition)
    {
        Position = authorityPosition;
    }
}
